redisinfo = {}

# redis配置-----更改 ip地址 端口 密码
redisinfo['ip'] = "192.168.1.12"
redisinfo['port'] = 61001
redisinfo['password'] = "12345678"

redisinfo0 = redisinfo.copy()
redisinfo0['db'] = 0

redisinfo1 = redisinfo.copy()
redisinfo1['db'] = 1

redisinfo2 = redisinfo.copy()
redisinfo2['db'] = 2

redisinfo3 = redisinfo.copy()
redisinfo3['db'] = 3

redisinfo4 = redisinfo.copy()
redisinfo4['db'] = 4

redisinfo5 = redisinfo.copy()
redisinfo5['db'] = 5

redisinfo6 = redisinfo.copy()
redisinfo6['db'] = 6

redisinfo7 = redisinfo.copy()
redisinfo7['db'] = 7

redisinfo8 = redisinfo.copy()
redisinfo8['db'] = 8

redisinfo9 = redisinfo.copy()
redisinfo9['db'] = 9

redisinfo10 = redisinfo.copy()
redisinfo10['db'] = 10

redisinfo11 = redisinfo.copy()
redisinfo11['db'] = 11

redisinfo12 = redisinfo.copy()
redisinfo12['db'] = 12

redisinfo13 = redisinfo.copy()
redisinfo13['db'] = 13

redisinfo14 = redisinfo.copy()
redisinfo14['db'] = 14

redisinfo15 = redisinfo.copy()
redisinfo15['db'] = 15

# mongo配置-----更改 ip地址 端口
mongoinfo = {}

mongoinfo['ip'] = '192.168.1.12'
mongoinfo['port'] = 61000

guidanginfo = {}
# 1vn 路人返回数量
guidanginfo['face_limit'] = 32
# 证件返回数量
guidanginfo['card_limit'] = 5
# 证件阈值
guidanginfo['card_similarity'] = 70
# 路人阈值
guidanginfo['face_similarity'] = 97
# 脸档等级
guidanginfo['face_acvs_level_limit'] = 200000
# 档档等级
guidanginfo['acvs_acvs_level_limit'] = 90000000
# log
guidanginfo['logs'] = ['logBase', 'logZZQ', 'logSHS', 'logJHT']
# 1v1阈值
guidanginfo['ovo_similarity'] = 60

relationinfo = {}
# 同行关系时间间隔
relationinfo['meet_time'] = 5
# 徘徊时间间隔
relationinfo['time_interval'] = 5
# 徘徊次数
relationinfo['wander_count'] = 5
# 同行关系清空时间
relationinfo['reset_time'] = 300
# 徘徊清空时间
relationinfo['wander_reset_time'] = 300
# 同行时间间隔
relationinfo['together_time'] = 10
# 同行人数
relationinfo['together_people_count'] = 2


ovoinfo = {}
# 1比1服务 ip地址
ovoinfo['ip'] = '192.168.1.43'
# 1比1服务 端口
ovoinfo['port'] = 5000
# 是否做 1比1
ovoinfo['whether_do'] = True

repoinfo = {}
repoinfo['repo_face_limit'] = 90000

# lookurl
lookinfo = {}
lookinfo["uri_prefix"] = "http://"

# 生成mongo_config  ----- 第一次开启 RUN1 之前 生成
mongoconfig = {}
# 本机ip地址(不可以简写localhost)
mongoconfig["ip"] = "192.168.1.12"
# 本机RUN1端口
mongoconfig["port"] = 61002
# 端口对应的盒子ip地址     路人库            证件库           档案库
mongoconfig["h_ip"] = ["192.168.1.234", "192.168.1.234", "192.168.1.234"] 
# 盒子端口
mongoconfig["h_port"] = [80, 80, 80]
# 盒子用户名
mongoconfig["h_uname"] = ["admin", "admin", "admin"]
# 盒子密码
mongoconfig["h_pwd"] = ["yitutech123", "yitutech123", "yitutech123"]
# 端口对应的 1比1 ip地址
mongoconfig["ovo_ip"] =  "192.168.1.43"
# 1 比 1 端口
mongoconfig["ovo_port"] = 5000
# 是否做 1 比 1
mongoconfig['whether_do'] = True


















